package com.qf.game.entity;
import com.qf.framwork.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
public class Player implements Serializable {

  private Integer id;
  private String username;
  private String password;
  private String nickname;
  private Integer sex;
  private String email;
  private String header;
  @TableField("happy_bean")
  private Integer happyBean = 0;//默认值
  private Integer level = 0;
  @TableField("create_time")
  private Date createTime = new Date();
  @TableField("update_time")
  private Date updateTime = new Date();
  private Integer status = 0;
  private Integer delFlag = 0;
}
